//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#ifndef _ListRankStatus_h__
#define	_ListRankStatus_h__
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#include "libraries.h"
#include "RankStatus.h"
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
class ListRankStatus {
  
  private:
    
    TListE <RankStatus>* ranksStatus;

  protected:
    
    
  public:
    
    ListRankStatus();
    ListRankStatus(int, int);
    ListRankStatus(const ListRankStatus&);
    ListRankStatus(const ListRankStatus*);
    
    ~ListRankStatus();
    
    void                  RanksStatus(TListE <RankStatus>*);
    TListE <RankStatus>*  RanksStatus(void);
    
    RankStatus*           NextFreeRank(int);
    RankStatus*           NextFreeRankExcludeFirst(int);
    RankStatus*           GetRank(int);
    
    ListRankStatus        operator=(const ListRankStatus&);
    
};
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
#endif
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
//---------------------------------------------------------------------------------------------------------------------------------------------------------//
